Your phone must be rooted. Your device must be running one of these stock ROMs:
Download the ROM and kernel files to your phone.
Power off your phone and boot into Recovery Mode.
Flash the cwm.zip file through the stock recovery.
Select Unmount /system.
Flash recovery-6.0.5.3.zip through CWM to upgrade to ClockworkMod Recovery 6.0.5.3.
Select Reboot Recovery.
Wait a few seconds until the device boots back into Recovery Mode.
Flash the ROM (Install ZIP from SD Card).
Select Reboot System Now.